# $Id: PKGBUILD 64738 2012-02-18 03:40:21Z svenstaro $
# Maintainer : Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: rabyte <rabyte__gmail>

pkgname=bass
pkgver=1.2
pkgrel=10
# Note: Including full name here so people can find it using the long name
pkgdesc="Beneath A Steel Sky is a 2D point-and-click science fiction thriller set in a bleak vision of the future"
arch=('any')
url="http://www.revolution.co.uk/_display.php?id=16"
license=('custom')
depends=('scummvm>=0.5')
source=(http://downloads.sourceforge.net/scummvm/$pkgname-cd-$pkgver.zip
        $pkgname.sh)
md5sums=('1d4401cd663715332abe8bb5431e356d'
         'e525ae4f94bea3322a0ea59a6fd9c07b')

build() {
    cd $srcdir/$pkgname-cd-$pkgver
}

package() {
    cd $srcdir/$pkgname-cd-$pkgver

    # Install license, data and bin
    install -d $pkgdir/usr/share/{licenses/,}bass
    install -m 644 readme.txt $pkgdir/usr/share/licenses/bass/
    install -m 644 sky.{cpt,dnr,dsk} $pkgdir/usr/share/bass/
    install -Dm 755 $srcdir/bass.sh $pkgdir/usr/bin/bass
}
